﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VISS.API.Commons {
    public interface ILivingStatus {

        /// <summary>
        /// Insert new LivingStatusEnt
        /// </summary>
        /// <param name="item">LivingStatusEnt</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Insert(LivingStatusEnt item);
        /// <summary>
        /// Update LivingStatusEnt
        /// </summary>
        /// <param name="item">LivingStatusEnt</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Update(LivingStatusEnt item);
        /// <summary>
        /// Delete a LivingStatusEnt
        /// </summary>
        /// <param name="iD">ID of LivingStatusEnt need to be deleted</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Delete(short iD);

        /// <summary>
        /// Get all LivingStatusEnt
        /// </summary>
        /// <returns>return a list of LivingStatusEnt (empty list if no LivingStatusEnt exists)</returns>
        List<LivingStatusEnt> GetAll();
    }
}
